from . import models

from rest_framework import serializers


class DeviceSerializer(serializers.ModelSerializer):

    class Meta:
        model = models.Device
        fields = (
            'pk', 
            'camera_id', 
            'created_time', 
            'last_modified', 
            'comera_name', 
            'status', 
        )


